export interface TableProps {
    columns: any[]
    data: () => any[] // 修改为函数类型
    rowKey: string
    pagination?: {
        currentPage: number
        pageSize: number
    }
    total: number
    fetchData: (page: number, pageSize: number) => Promise<any[]>
}
